package cn.calm.osgi.admin.bundle.service;

import java.util.List;

import cn.calm.osgi.admin.bundle.entity.BundleInfo;

public interface IBundleService {
	public List<BundleInfo> listAll();

	public BundleInfo loadMaxVersionBySymbolicName(String id);

	public void addBundle(BundleInfo info) throws Exception;

	public void deleteBundle(String symbolicName, String version);

	public List<BundleInfo> listAllAutoStartBundle();

	public List<BundleInfo> listAllNotAutoStartBundle();

	List<BundleInfo> listAllAutoStartBundleContent();

	public void addAutoStart(String string, String string2, int index);

	public void clearAutoStart();
}
